package cn.edu.scau.cmi.duzefeng.factory;
import javafx.application.Application;
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.layout.BorderPane;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;



public class Main extends Application{
	@Override
    public void start(Stage primaryStage) {
        try {
           // BorderPane root = new BorderPane();
            //Scene scene = new Scene(root,400,400);
            Parent root = FXMLLoader.load(getClass().getResource("application.fxml"));
            primaryStage.setTitle("My Application");
            primaryStage.setScene(new Scene(root));
            primaryStage.show();
        } catch(Exception e) {
            e.printStackTrace();
        }
    }
	public static void main(String[] args) {
		
		launch(args);


	}

}
